package tec.line;

public class IndexData {
	int id;
	int index_max;//最大值
	int index_min;//最小值
	int index_open;//开盘值
	int index_close;//收盘
	Point  p_max = new Point();//最大值对应点
	Point  p_min = new Point();//最小值对应点
	Point  p_open = new Point();//开盘像素点
	Point  p_close = new Point();//收盘像素点
	public int getIndex_max() {
		return index_max;
	}
	public void setIndex_max(int index_max) {
		this.index_max = index_max;
	}
	public int getIndex_min() {
		return index_min;
	}
	public void setIndex_min(int index_min) {
		this.index_min = index_min;
	}
	public int getIndex_open() {
		return index_open;
	}
	public void setIndex_open(int index_open) {
		this.index_open = index_open;
	}
	public int getIndex_close() {
		return index_close;
	}
	public void setIndex_close(int index_close) {
		this.index_close = index_close;
	}
	public Point getP_max() {
		return p_max;
	}
	public void setP_max(Point p_max) {
		this.p_max = p_max;
	}
	public Point getP_min() {
		return p_min;
	}
	public void setP_min(Point p_min) {
		this.p_min = p_min;
	}
	public Point getP_open() {
		return p_open;
	}
	public void setP_open(Point p_open) {
		this.p_open = p_open;
	}
	public Point getP_close() {
		return p_close;
	}
	public void setP_close(Point p_close) {
		this.p_close = p_close;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	@Override
	public String toString() {
		return "id =" + id + ";" + 
				 "index_max =" + index_max+ ";" +
				 "index_min =" + index_min+ ";" +
				 "index_open =" + index_open+ ";" +
				 "index_close =" + index_close+ ";" +
				 
				 "p_max =" + p_max+ ";" +
				 "p_min =" + p_min+ ";" +
				 "p_open =" + p_open+ ";" +
				 "p_close =" + p_close;
	}
	
	
	
}
